<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="styles/style.css">
        <link rel="stylesheet" href="styles/theme/atom-one-dark.css">
        <title>例子19-JS进阶（二）</title>
    </head>
    <body class="cols">
        <pre>
            <code>
                    // 例子19

                    var timer = setTimeout(function() {
                        delay();
                    }, 5000);
            </code>
        </pre>
        <pre>
            <code>
                    var timer = setTimeout(delay, 5000);
            </code>
        </pre>
        <script src="scripts/libs/highlight.pack.js"></script>
        <script src="scripts/19.js"></script>
        <script>
            hljs.initHighlightingOnLoad();
        </script>
    </body>
</html>